* { /* all elements on the page */
  padding: 0px;
  margin: 0px;
  color: hsl(0, 0%, 100%);
  border-color: red;
  font-size: 20px;
}

body { /* the entire header, main, and footer of the page */
  background-color: black;
}

header { /* the entire header of the page */
  background-color: hsl(0, 0%, 30%);
  margin: 0px 0px 8px 0px;
}

main { /* the entire main of the page */
  margin: 8px 0px 8px 0px;
}

footer { /* the entire footer of the page */
  margin: 8px 0px 8px 0px;
}

.header-title > img { /* the img in the header (top left image) */
  float: left;
  margin-right:8px;
  height: 100px;
}

.header-title { /* the header excluding the nav bar */
  display: flex;
  flex-direction: row;
  align-items: center;
}

header h1 { /* title of the page */
  text-shadow: 2px 2px 3px darkgrey;
}

nav { /* the entire navigation bar */
  display: flex;
  flex-wrap: nowrap;
}

nav > a { /* all the tabs of the navigation bar */
  text-align: center;
  width: 100%;
}

.currentNav { /* nav menu current tab */
  text-decoration: none;
  color: hsl(0, 0%, 100%, 0.8);
  background-color: hsl(0, 0%, 10%);
  font-style: normal;
  border-style: inset;
  border-width: 4px;
  border-color: rgba(255, 255, 255, 0.4);
  padding: 0px 5px 0px 5px;
}

.otherNav { /* nav menu other tabs */
  text-decoration: none;
  color: hsl(0, 0%, 0%, 0.8);
  background-color: hsl(0, 0%, 90%);
  font-style: normal;
  border-style: outset;
  border-width: 4px;
  border-color: rgba(255, 255, 255, 0.4);
  padding: 0px 5px 0px 5px;
  width: 100%;
}

footer img { /* footer images and likely socials */
  margin-right: 10px;
}

/* The following are for articles */
article { /* The article */
  margin-left: 8px;
  margin-right: 8px;
}
article p { /* all p elements anywhere inside of an article */
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 3px;
  margin-bottom: 3px;
}
article table { /* all table elements anywhere inside of an article */
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 3px;
  margin-bottom: 3px;
}
article h1 { /* all h1 elements anywhere inside of an article */
  color: hsl(250, 100%, 50%);
  text-transform: uppercase;
}
article h2 {
  color: hsl(200, 100%, 50%);
}
article h3 {
  color: hsl(150, 100%, 50%);
}
article h4 {
  color: hsl(100, 100%, 50%);
}
article h5 {
  color: hsl(50, 100%, 50%);
}
article h6 {
  color: hsl(0, 100%, 50%)
}

/* Home page */

.main h1 {
  color: hsl(255, 100%, 100%);
  text-transform: none;
  font-weight: bold;
  text-decoration: underline;
}

/* Books page */

#MyBookcaseTable { /* the singular div element that holds all the div elements that hold images */
  display: flex; /* creates flex display style */
  flex-wrap: wrap; /* the div elements will wrap */
  justify-content: center;
}

.boxForImage { /* the div boxes that will hold the images */
  display: inline-block;
  width: 240px;
  height: 340px;
  position: relative; /* its children are in absolute position, so this must be relative even if at 0px */
}

.boxForImage img { /* all img elements inside is box which is/are the image(s) */
  border: 1px solid black;
  width: 200px;
  height: 300px;
  position: absolute; /* for books that have multiple covers, this will allow us to shift the image relative to the parent*/
}

.boxForImage, .boxForImage img { /* the div element that holds the image inside and all img elements inside it */

}